projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4fcbdd
)
Fix conversion of coordinates.
author
oliskoli
<oliskoli>
Tue, 28 Nov 2006 12:50:37 +0000
(12:50 +0000)
committer
oliskoli
<oliskoli>
Tue, 28 Nov 2006 12:50:37 +0000
(12:50 +0000)
pathaway.c
patch
|
blob
|
history
diff --git
a/pathaway.c
b/pathaway.c
index 231b7a3299fbb6b88b5a1874c87dbf820b31c30c..bede7b1cfb5be9987111ae14eb12fdf30c891488 100644
(file)
--- a/
pathaway.c
+++ b/
pathaway.c
@@
-271,7
+271,7
@@
double ppdb_decode_coord(const char *str)
if (*str == 'O') german_release = 1;
tmp = strchr(str, ' ');
- if ((tmp) && (tmp - str <
4
))
+ if ((tmp) && (tmp - str <
5
))
{
CHECK_INP(3, sscanf(str,"%c%d %lf", &dir, °, &val), "decode_coord(2)");
val = deg + (val / 60.0);